package org.raymond.iworks.study.basic.designpattern.factory.abs.pizzastore.pizza;

import lombok.Setter;

/**
 * @author raymond
 * @version V1.0
 * @Description: TODO
 */
public abstract class Pizza {
    @Setter
    protected String name;

    abstract public void prepare();
    public void bake(){
       System.out.println(name+" baking");
    }
    public void cut(){
        System.out.println(name+" cutting");
    }
    public void box(){
        System.out.println(name+" boxing");
    }
}
